<?php /*xuzhou hook*/
if(strpos($head, '达人') !== FALSE){
    $head = str_replace('达人', '客服', $head);
}
?><!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <base href="<?php echo URLPRE;?>static/template/<?php echo MOBILE_TEMPLATE_NAME?>/mobile/" />
    <title><?php if(!empty($title)){ echo $title;}else{echo $head;}?></title>
    <!--<meta http-equiv="Pragma" content="no-cache">-->
    <!--<meta http-equiv="Expires" content="-1">-->
    <meta name="keywords" content="<?php if(!empty($keywords)) echo $keywords;?>" />
    <meta name="description" content="<?php if(!empty($description)) echo $description;?>" />
    <link rel="shortcut icon" href="<?php echo $site_ico;?>" mce_href="<?php echo $site_ico ;?>" type="image/x-icon">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="<?php echo URLPRE;?>static/template/<?php echo MOBILE_TEMPLATE_NAME?>/mobile/css/swiper.3.1.2.min.css" type="text/css">
    <link rel="stylesheet" href="<?php echo URLPRE;?>static/template/<?php echo MOBILE_TEMPLATE_NAME?>/mobile/css/style.css?_=22121" type="text/css">
    <link rel="stylesheet" href="<?php echo URLPRE;?>static/template/<?php echo MOBILE_TEMPLATE_NAME?>/mobile/css/dl.css" type="text/css">
    <link href="<?php echo URLPRE;?>static/template/<?php echo MOBILE_TEMPLATE_NAME?>/mobile/css/component.css" rel="stylesheet" type="text/css" />
    <style type="text/css">.content table td{ border:1px solid} .swiper-container {width: 100%; }   .swiper-container img{width: 100%;}  </style><?php echo $bg?>
    <link rel="stylesheet" type="text/css" href="<?php echo URLPRE;?>static/template/<?php echo MOBILE_TEMPLATE_NAME?>/mobile/css/dialog.css" />

    <script src="js/jquery-1.10.1.min.js"></script>
    <script src="js/jquery.lazyload.js"></script>
    <script type="text/javascript" src="<?php echo URLPRE;?>static/template/<?php echo MOBILE_TEMPLATE_NAME?>/mobile/js/mobilecommon.js"></script>
    <script type="text/javascript" src="<?php echo URLPRE;?>static/template/<?php echo MOBILE_TEMPLATE_NAME?>/mobile/js/slider.js"></script>
    <script type="text/javascript" src="<?php echo URLPRE;?>static/template/<?php echo MOBILE_TEMPLATE_NAME?>/mobile/js/dialog.js"></script>
    <script type="text/javascript" src="<?php echo URLPRE;?>static/template/<?php echo MOBILE_TEMPLATE_NAME?>/mobile/js/jquery.lazyload.js"></script>
    <script type="text/javascript">
        var baseurl = '<?php echo rtrim(URLPRE,'/');?>',
            basemobileurl = '<?php echo site_url('mobile/index')?>',
            ADMINID = <?PHP echo @intval($this->session->userdata('admin_user_id'))?>,
            USERID = <?PHP echo @intval($this->session->userdata('user_id'))?>,
            loginUrl = '<?php echo site_url('/mobile/member/logout');?>' ;
        function unset_login(){
            $.post(loginUrl,{
                action:'unset'
            },function(data){
                var json = eval("("+data+")");
                if(json['status']=='1'){
                    if(json['action']=='unset'){
                        window.location.reload();
                    }
                }
            })
        }
    </script>
</head>
<body>

<?php
/* if(!$noback){?>
<div class="backbar">
    <div class="bkbtn">
        <a href="javascript:window.history.go(-1);">
            <img src="img/backbtn.png">
        </a>
    </div>
    <div class="bktitle">
        <p><strong><?php if(!empty($head)){ echo $head;}else{echo $title;}?></strong></p>
    </div>
    <?php if(!$noshare):?>
    <div class="share">
        <a href="javascript:;">
            <span><small>分享</small></span>
            <img src="img/fxbtn.png">
        </a>
    </div>
    <?php endif;?>
</div>
<?php } */ ?>